package mybaits;

import annotion.Param;
import mybaits.User;

import java.util.List;

public interface UserMapper {
    User selectById(@Param("id") int id);

    User selectByName(@Param("name") String name);

    User selectByNameAndId(@Param("name") String name, @Param("id") int id);

    List<User> selectByAge(@Param("age") int age);

}
